<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>配置项添加</title>
	<Pintuer />
</head>
<body>
	<div class="container-layout">
		<!-- 导航位置 -->
		<div class="text-small text-gray height-big">
			<div class="float-left height">
				<span class="icon-home"></span>
				当前位置： 首页 -> 系统配置 -> 添加配置项
			</div>
			<div class="float-right">
				<div class="radius-rounded height">
					<button type="button" onClick="location.href='{?:U('updateCache')?}'" class="button">
						<span class="icon-magic"></span>
						更新配置缓存
					</button>
				</div>
			</div>
			<div class="clearfix"></div>
		</div>
		<hr />
		<!-- 导航位置 End -->
		<div class="bg border padding margin-little-bottom">配置项添加</div>
		<form action="{?:U('add')?}" method="POST">
			<table class="table table-bordered table-hover table-condensed">
				<tr>
					<td align="right" width="300">参数标题(中文)</td>
					<td width="300"><input type="text" class="input" name="title" /></td>
					<td>提示信息</td>
				</tr>
				<tr>
					<td align="right" >参数名(标识)</td>
					<td ><input type="text" class="input" name="name" /></td>
					<td>提示信息</td>
				</tr>
				<tr>
					<td align="right" >配置参数值</td>
					<td><input type="text" class="input" name="value" /></td>
					<td>提示信息</td>
				</tr>
				<tr>
					<td align="right">是否系统</td>
					<td>
						<label><input type="radio" name="system" value="0" checked />普通组</label>
						<label><input type="radio" name="system" value="1" />系统组</label>
					</td>
				</tr>
				<tr>
					<td align="right" >配置组</td>
					<td><select name="cid" class="input">
						<volist name="configGroup" id="vo">
							<option value="{?$vo.cid?}">{?$vo.ctitle?}</option>
						</volist>
					</select></td>
					<td>提示信息</td>
				</tr>
				<tr>
					<td align="right" >类 型</td>
					<td>
						<label><input type="radio" name="type" value="text" checked />text</label> |
						<label><input type="radio" name="type" value="radio" />radio</label> |
						<label><input type="radio" name="type" value="textarea" />textarea</label> |
						<label><input type="radio" name="type" value="select" />select</label>
					</td>
					<td>提示信息</td>
				</tr>
				<tr>
					<td align="right" >参 数</td>
					<td><input type="text" class="input" name="info" /></td>
					<td>如：1|开启,0|关闭</td>
				</tr>
				<tr>
					<td align="right" >提示信息</td>
					<td><input type="text" class="input" name="message" /></td>
					<td>提示信息</td>
				</tr>
				<tr>
					<td></td>
					<td colspan="2">
						<button type="submit" class="button bg-sub radius-none">
							<i class="icon-check-square-o"></i>
							提交保存
						</button>
						<button type="button" class="button radius-none" onClick="location.href='{?:U('webConfig')?}'">
							<i class="icon-th-list"></i>
							配置列表
						</button>
					</td>
				</tr>
			</table>
		</form>
	</div>
</body>
</html>